package com.cc.controller;

import com.cc.entity.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author 33314
 * @version 1.0
 * @description: TODO
 * @date 2025/6/9 19:19
 */
@Controller
@ResponseBody
@RequestMapping("/user")
public class UserController {
@RequestMapping("/student")
    public User index(){
    return new User(1,"张三",18);
    }
}
